def primes(number):
    primes = []
    for num in range(2, number + 1):
        res = map(lambda x: num % x, range(2, math.sqrt(num)))
        if 0 not in res:
            primes.append(num)
    print "Primes up!"
    print primes
    print str(len(primes)) + " primes found!"
